﻿<TrayWindow x:Class="Poet.Views.TrayView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Visibile="{Binding ShowInTray, Mode=TwoWay}"
        Icon="{Binding TrayIcon}">
    
    <TrayWindow.ContextMenu>

            <ContextMenu IsOpen="{Binding IsTrayMenuOpen}" Name="TrayMenu">
                <MenuItem Header="Hide" />
                <MenuItem Header="Topmost" IsCheckable="True" IsChecked="{Binding Topmost}"/>
                <MenuItem Header="Tool Style" IsCheckable="true" Tag="ToolStyle"/>
                <Separator/>
                <MenuItem Header="{Localizing Exit}" Command="{Binding Exit}" Icon="{Picture Icons/Exit_16x16.png, 16}"/>
            </ContextMenu>

    </TrayWindow.ContextMenu>
    
    <Grid>
        
    </Grid>
</TrayWindow>
